import { createPinia } from 'pinia'
// 引入pinia的持久化插件
import persist from 'pinia-plugin-persistedstate'

const pinia = createPinia()
pinia.use(persist)

export default pinia

// -----------------------------------------
// import { useUserStore } from './user'
// export { useUserStore }

export * from './user'
export * from './consult'
